app.config(function ($stateProvider,$urlRouterProvider) {
    $stateProvider.state("onepage",{
        url:"/onepage",
        templateUrl:"html/onepage.html",
        controller:"onepage"
    })
        .state("twopage",{
            url:"/twopage",
            templateUrl:"html/twopage.html",
            controller:"twopage"
        })
        .state("threepage",{
            url:"/threepage",
            templateUrl:"html/threepage.html",
            controller:"threepage"
        })
        .state("onepage.yi",{
            url:"/onepage.yi",
            templateUrl:"html/onepageyi.html"
        })
        .state("onepage.er",{
            url:"/onepage.er",
            templateUrl:"html/onepageer.html"
        })
        .state("onepageer.aa",{
            url:"/onepageer.aa",
            templateUrl:"html/onepageeraa.html"
        })
        .state("onepageer.bb",{
            url:"/onepageer.bb",
            templateUrl:"html/onepageerbb.html"
        })
        .state("threepage.yi",{
            url:"/threepage.yi",
            templateUrl:"html/myyi.html"
        })
        .state("threepage.er",{
            url:"/threepage.er",
            templateUrl:"html/myer.html"
        })
    $urlRouterProvider.otherwise("onepage/onepage.yi")
})